<h2 style="text-align: center">学生基本信息表</h2>
<div>
  <nz-table #filterTable [nzData]="display" nzTableLayout="fixed" [nzLoading]="loading">
    <thead>
    <tr>
      <th
        *ngFor="let column of listOfColumns"
        [nzSortOrder]="column.sortOrder"
        [nzSortFn]="column.sortFn"
        [nzSortDirections]="column.sortDirections"
        [nzFilterMultiple]="column.filterMultiple"
        [nzFilters]="column.listOfFilter"
        [nzFilterFn]="column.filterFn"
      >
        {{ column.name }}
      </th>
    </tr>
    </thead>
    <tbody>
    <tr *ngFor="let data of filterTable.data">
      <td routerLink="./detail/{{data.stuid}}" >{{ data.stuid }}</td>
      <td>{{ data.name }}</td>
      <td>{{ data.birthday }}</td>
      <td>{{ data.sex }}</td>
      <td>{{ data.major}}</td>
      <td>{{ data.class }}</td>
      <td>{{ data.native_place }}</td>
      <td>{{ data.time_of_enrollment}}</td>
    </tr>
    </tbody>
  </nz-table>
</div>
